package org.spring.springboot.app.user.sysuser.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: eric
 * Date: 2017-11-09
 * Time: 19:37
 */
@ApiModel(description = "返回参数")
public class UserLoginResVO implements Serializable{
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "用户id", hidden = false)
    private String id;

    @ApiModelProperty(value = "公司id", hidden = false)
    private String companyId;

    @ApiModelProperty(value = "机构id", hidden = false)
    private String officeId;

    @ApiModelProperty(value = "机构名", hidden = false)
    private String officeName;

    @ApiModelProperty(value = "机构类型", hidden = false)
    private String officeType;

    @ApiModelProperty(value = "机构区域ID", hidden = false)
    private String officeAreaId;

    @ApiModelProperty(value = "登录名", hidden = false)
    private String loginName;

    @ApiModelProperty(value = "token", hidden = false)
    private String rememberToken;

    @ApiModelProperty(value = "编号", hidden = false)
    private String no;

    @ApiModelProperty(value = "姓名", hidden = false)
    private String name;

    @ApiModelProperty(value = "邮编", hidden = false)
    private String email;

    @ApiModelProperty(value = "电话", hidden = false)
    private String phone;

    @ApiModelProperty(value = "手机", hidden = false)
    private String mobile;

    @ApiModelProperty(value = "用户类型", hidden = false)
    private String userType;

    @ApiModelProperty(value = "头像", hidden = false)
    private String photo;

    @ApiModelProperty(value = "登录ip", hidden = false)
    private String loginIp;

    @ApiModelProperty(value = "登录时间", hidden = false)
    private Date loginDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId == null ? null : officeId.trim();
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getRememberToken() {
        return rememberToken;
    }

    public void setRememberToken(String rememberToken) {
        this.rememberToken = rememberToken == null ? null : rememberToken.trim();
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getOfficeName() {
        return officeName;
    }

    public void setOfficeName(String officeName) {
        this.officeName = officeName;
    }

    public String getOfficeAreaId() {
        return officeAreaId;
    }

    public void setOfficeAreaId(String officeAreaId) {
        this.officeAreaId = officeAreaId;
    }

    public String getOfficeType() {
        return officeType;
    }

    public void setOfficeType(String officeType) {
        this.officeType = officeType;
    }
}
